﻿@model S4Store.Domain.FinancialKpi.FinancialMonthConfig
@{
    Layout = null;
    ViewBag.Title = "FinancialMonthConfig";
    S4Store.Domain.Administrator CurrentUser = (S4Store.Domain.Administrator)ViewBag.CurrentUser;
}
<form class="pageForm addpage" action="@Url.Action("ModifyBackInputFinancialKpiMonthConfig")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
    <div class="pageFormContent" style="overflow: auto;" ratio="*">
        <table style="width:600px">
            <tr>
                <td colspan="4" style=" background:#E5EDEF;">
                    <strong>4S店财务管理目标</strong>
                </td>
            </tr>
            <tr>
                <td width="130">公司服务吸收率目标</td>
                <td width="100"><input type="text" value="@Model.GSFWXSLVMB" size="5" name="config.GSFWXSLVMB" class="textInput numberinput" />%</td>
                <td width="130">目标售后总产值</td>
                <td width="100"><input type="text" value="@Model.MBSHZCZ" size="5" name="config.MBSHZCZ" class="textInput numberinput" />万</td>
                      
            </tr>
            <tr>
                <td width="130">商品车目标周转天数</td>
                <td width="100"><input type="text" value="@Model.MBZZTS" size="5" name="config.MBZZTS" class="textInput numberinput" />天</td>
                <td width="130">4S店固定运营成本</td>
                <td width="100"><input type="text" value="@Model.YYCB" size="5" name="config.YYCB" class="textInput numberinput" />万</td>
                      
            </tr>
            <tr>
                <td colspan="4" style=" background:#E5EDEF;">
                    <strong>行业对比数据</strong>
                </td>
                </tr>
            <tr>
                <td colspan="4">
                    <table>
                        <tr>
                            <td width="130">商品车营业额比率</td>
                            <td width="100"><input type="text" value="@Model.SPCYYEBL" size="5" name="config.SPCYYEBL" class="textInput numberinput" />%</td>
                            <td width="130">装潢营业额比率</td>
                            <td width="100"><input type="text" value="@Model.ZHYYEBL" size="5" name="config.ZHYYEBL" class="textInput numberinput" />%</td>
                            <td width="130">保险营业额比率</td>
                            <td width="100"><input type="text" value="@Model.BXYYEBL" size="5" name="config.BXYYEBL" class="textInput numberinput" />%</td>

                        </tr>

                        <tr>
                            <td width="130">贷款服务费比率</td>
                            <td width="100"><input type="text" value="@Model.DKFWFBL" size="5" name="config.DKFWFBL" class="textInput numberinput" />%</td>
                            <td width="130">二手车毛利占比</td>
                            <td width="100"><input type="text" value="@Model.ESCMLBL" size="5" name="config.ESCMLBL" class="textInput numberinput" />%</td>
                            <td width="130">延保销售额占比</td>
                            <td width="100"><input type="text" value="@Model.YBXSEZB" size="5" name="config.YBXSEZB" class="textInput numberinput" />%</td>

                        </tr>

                        <tr>
                            <td width="130">事故车产值比率</td>
                            <td width="100"><input type="text" value="@Model.SGCCZBL" size="5" name="config.SGCCZBL" class="textInput numberinput" />%</td>
                            <td width="130">保养产值占比</td>
                            <td width="100"><input type="text" value="@Model.BYCZZB" size="5" name="config.BYCZZB" class="textInput numberinput" />%</td>
                            <td width="130">维修产值占比</td>
                            <td width="100"><input type="text" value="@Model.WXCZZB" size="5" name="config.WXCZZB" class="textInput numberinput" />%</td>

                        </tr>

                        <tr>
                            <td width="130">备件产值比率</td>
                            <td width="100"><input type="text" value="@Model.BJCZBL" size="5" name="config.BJCZBL" class="textInput numberinput" />%</td>
                            <td width="130">装潢产值占比</td>
                            <td width="100"><input type="text" value="@Model.ZHCZZB" size="5" name="config.ZHCZZB" class="textInput numberinput" />%</td>
                            <td width="130">养护品产值占比</td>
                            <td width="100"><input type="text" value="@Model.YHPCZZB" size="5" name="config.YHPCZZB" class="textInput numberinput" />%</td>

                        </tr>

                    </table>
                </td>
            </tr>
            <tr>
                <td width="600" colspan="4">
                    <table  class="reporttable2"  style="border-collapse:collapse;">
                        <tr>
                            <th>品牌</th>
                            <th>本月在售</th>
                            <th>本月初库存成本(万)</th>
                            <th>本月末库存成本(万)</th>
                            <th>本月车辆销售成本(万)</th>
                            <th>本月售后毛利(万)</th>
                        </tr>
                        @Html.Action("CarBrandList", new { y = Model.Month.Year, m = Model.Month.Month })
                    </table>                    
                </td>
                   
            </tr>
        </table>
        <input type="hidden" name="config.Id" value="@Model.Id" />
        <input type="hidden" name="config.Month" value="@Model.Month.ToString("yyyy-MM-dd")" />
			
    </div>
    @if (!Model.IsConfirmed || CurrentUser.Position == S4Store.Domain.Position.SystemManager)
    {
        <div class="formBar" ratio="#30">
            <ul>
                <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
                <li>确认数据：<input type="checkbox" name="isconfirm" value="true" /></li>	
            </ul>
        </div>
    }
</div>
</form>


